package webbrow.aop.controller;

import java.sql.SQLException;
import java.util.List;

import javax.annotation.Resource;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;

import webbrow.aop.model.MemberRankVO;
import webbrow.aop.model.StatisticService;
import webbrow.member.model.MemberVO;

@Controller
public class StatisticController{
	@Resource(name = "statisticServiceImpl")
	private StatisticService statisticService;

public ModelAndView selectMemberRank(HttpSession session, MemberVO vo) throws SQLException{
	List<MemberRankVO> list = statisticService.selectRankList();
	return new ModelAndView("member_report","list",list);
}
}
